<script>
    var a = 2
    function add(b, c) {
        return b + c
    }
    function addAll() {
        var d = 10
        var result = add(b, c)
        return a + result + d
    }
    addAll(3, 6)
</script>